from settings.secret import SecretConfig


class DefaultConfig():
    SECRET_KEY = "sssssssssssssssssss"
    SQLALCHEMY_DATABASE_URI = ""
    REDIS_HOST = ""
    REDIS_PASSWORD = ""
    REDIS_PORT = ""
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = True
    JSON_AS_ASCII = False


class DevConfig(DefaultConfig):
    # TODO 修改此处配置
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:123@127.0.0.1:3306/flask_zhoumo"
    QINIU_HOST = "http://rebl087pr.hn-bkt.clouddn.com/"

